package com.ssm.zyn.service.impl;

import com.ssm.zyn.dao.ConlogMapper;
import com.ssm.zyn.eo.ConlogEOpage;
import com.ssm.zyn.model.Conlog;
import com.ssm.zyn.service.Conlogservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 实现业务及流程接口当中的内容
 */
@Service
public class ConlogServiceImpl implements Conlogservice {
    @Autowired
    private ConlogMapper conlogMapper;

    /**
     *
     * @param conlog
     * @return
     */
    @Override
    public int AddConlog(Conlog conlog) {
        int returnInt=0;
        returnInt=conlogMapper.insertConlog(conlog);
        return returnInt;
    }

    /**
     *
     * @param conlogEOpage
     * @return
     */
    @Override
    public List<ConlogEOpage> getWhereAll(ConlogEOpage conlogEOpage) {
        List<ConlogEOpage> listConlogEO=conlogMapper.getWhereAll(conlogEOpage);
        return listConlogEO;
    }
}
